package com.xoa.model.netdisk;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;
import java.util.List;

/**
 * Created by 王曰岐 on 2017/6/1.
 */
public class MyNetdisk {
    private String  type;
    private String neName;//文件名字
    private String size;//字节数
    private String path;
    private boolean downloadPriv;
    private boolean makePriv;
    private boolean showPriv;
    private boolean updatePriv;
    //加密类型
    private String encryType ;
    private Date time;
    private long sizeNum;

    public long getSizeNum() {
        return sizeNum;
    }

    public void setSizeNum(long sizeNum) {
        this.sizeNum = sizeNum;
    }

    public boolean isDownloadPriv() {
        return downloadPriv;
    }
    public void setDownloadPriv(boolean downloadPriv) {
        this.downloadPriv = downloadPriv;
    }
    public boolean isMakePriv() {
        return makePriv;
    }

    public void setMakePriv(boolean makePriv) {
        this.makePriv = makePriv;
    }

    public boolean isShowPriv() {
        return showPriv;
    }

    public void setShowPriv(boolean showPriv) {
        this.showPriv = showPriv;
    }

    public boolean isUpdatePriv() {
        return updatePriv;
    }

    public void setUpdatePriv(boolean updatePriv) {
        this.updatePriv = updatePriv;
    }

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getNeName() {
        return neName;
    }

    public void setNeName(String neName) {
        this.neName = neName;
    }


    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    private Integer diskId;

    public Integer getDiskId() {
        return diskId;
    }

    public void setDiskId(Integer diskId) {
        this.diskId = diskId;
    }

    public String getEncryType() {
        return encryType;
    }

    public void setEncryType(String encryType) {
        this.encryType = encryType;
    }
}
